package com.qxzn.app.bean;

import java.io.Serializable;
import java.util.List;

public class FaceIdListBean implements Serializable {
    /**
     * code : 200
     * msg : 认证成功
     * data : [{"id":7,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","username":"hsq4","file":"imgdesk_face155843229049302519de0-7bae-11e9-957d-f9467ab1d160.jpg","roles":1,"newtime":1558432290403,"niname":"ghh","face_token":"d22b5f21210d817616a0d887c9e20bf4"},{"id":8,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","username":"0","file":"imgdesk_face1558495737411bba10040-7c41-11e9-9ac6-e10fab7d2700.jpg","roles":2,"newtime":1558495737343,"niname":"，？！","face_token":"f1bd5224c4148f715bd57465cdafd03c"},{"id":9,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","username":"hsq2","file":"imgdesk_face15585053225270ccd7af0-7c58-11e9-9e8d-c3054d823d19.jpg","roles":1,"newtime":1558505322516,"niname":"hsq2","face_token":"2d041823f5b7148b55a247141720050c"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 7
         * device_id : 9ac019acab486ad7db721f2b6f1b94a8
         * username : hsq4
         * file : imgdesk_face155843229049302519de0-7bae-11e9-957d-f9467ab1d160.jpg
         * roles : 1
         * newtime : 1558432290403
         * niname : ghh
         * face_token : d22b5f21210d817616a0d887c9e20bf4
         */

        private int id;
        private String device_id;
        private String username;
        private String file;
        private int roles;
        private long newtime;
        private String niname;
        private String face_token;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getFile() {
            return file;
        }

        public void setFile(String file) {
            this.file = file;
        }

        public int getRoles() {
            return roles;
        }

        public void setRoles(int roles) {
            this.roles = roles;
        }

        public long getNewtime() {
            return newtime;
        }

        public void setNewtime(long newtime) {
            this.newtime = newtime;
        }

        public String getNiname() {
            return niname;
        }

        public void setNiname(String niname) {
            this.niname = niname;
        }

        public String getFace_token() {
            return face_token;
        }

        public void setFace_token(String face_token) {
            this.face_token = face_token;
        }
    }
}
